300 |
Can I add any break or divider line
|
299 |
Can I change the default border of the tooltip, using your EBN files
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.ToolTipDelay = 1 oList.ToolTipWidth = 364 oList.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn") oList.Template = [Background(64) = 16777216] // oList.Background(64) = 0x1000000 // oList.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column" var_Column = oList.Columns.Add("tootip") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.ToolTip = "this is a tooltip assigned to a column"] endwith |
298 |
Can I change the background color for the tooltip
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.ToolTipDelay = 1 oList.ToolTipWidth = 364 oList.Template = [Background(65) = 255] // oList.Background(65) = 0xff // oList.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column" var_Column = oList.Columns.Add("tootip") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.ToolTip = "this is a tooltip assigned to a column"] endwith |
297 |
Does the tooltip support HTML format
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.ToolTipDelay = 1 oList.ToolTipWidth = 364 // oList.Columns.Add("tootip").ToolTip = "<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a <fgcolor=FF0000>column</fgcolor>" var_Column = oList.Columns.Add("tootip") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.ToolTip = "<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a <fgcolor=FF0000>column</fgcolor>"] endwith |
296 |
Can I change the forecolor for the tooltip
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.ToolTipDelay = 1 oList.ToolTipWidth = 364 oList.Template = [Background(66) = 255] // oList.Background(66) = 0xff // oList.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column" var_Column = oList.Columns.Add("tootip") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.ToolTip = "this is a tooltip assigned to a column"] endwith |
295 |
Can I change the foreground color for the tooltip
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.ToolTipDelay = 1 oList.ToolTipWidth = 364 // oList.Columns.Add("tootip").ToolTip = "<fgcolor=FF0000>this is a tooltip assigned to a column</fgcolor>" var_Column = oList.Columns.Add("tootip") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.ToolTip = "<fgcolor=FF0000>this is a tooltip assigned to a column</fgcolor>"] endwith |
294 |
Is there any function to limit the height of the items when I display it using multiple lines
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.ScrollBySingleLine = true oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "This is bit of text that's shown on multiple lines. This is bit of text that's shown on multiple lines." with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "This is bit of text that's shown on multiple lines. This is bit of text that's shown on multiple lines."] endwith // var_Items.CellSingleLine(h,1) = false with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellSingleLine(h,1) = False] endwith // var_Items.ItemMaxHeight(h) = 48 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.ItemMaxHeight(h) = 48] endwith |
293 |
Why I cannot center my cells in the column
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.DrawGridLines = -1 // oList.Columns.Add("Default").Alignment = 1 var_Column = oList.Columns.Add("Default") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.Alignment = 1] endwith oList.Items.Add("item 1") oList.Items.Add("item 2") oList.Items.Add("item 3") |
292 |
How can I align the cell to the left, center or to the right
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.DrawGridLines = -1 oList.Columns.Add("Default") var_Items = oList.Items // var_Items.CellHAlignment(var_Items.Add("left"),0) = 0 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellHAlignment(Add("left"),0) = 0] endwith // var_Items.CellHAlignment(var_Items.Add("center"),0) = 1 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellHAlignment(Add("center"),0) = 1] endwith // var_Items.CellHAlignment(var_Items.Add("right"),0) = 2 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellHAlignment(Add("right"),0) = 2] endwith |
291 |
How do I apply HTML format to a cell
|
290 |
How can I change the font for a cell
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") oList.Items.Add("std font") var_Items = oList.Items // var_Items.CaptionFormat(var_Items.Add("this <font tahoma;12>is a bit of text with</font> a different font"),0) = 1 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CaptionFormat(Add("this <font tahoma;12>is a bit of text with</font> a different font"),0) = 1] endwith |
289 |
How can I change the font for a cell
local f,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") oList.Items.Add("default font") f = new OleAutoClient("StdFont") f.Name = "Tahoma" f.Size = 12 var_Items = oList.Items // var_Items.CellFont(var_Items.Add("new font"),0) = f with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellFont(Add("new font"),0) = f] endwith |
288 |
How can I change the font for entire item
local f,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") oList.Items.Add("default font") f = new OleAutoClient("StdFont") f.Name = "Tahoma" f.Size = 12 var_Items = oList.Items // var_Items.ItemFont(var_Items.Add("new font")) = f with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemFont(Add("new font")) = f] endwith |
287 |
How do I vertically align a cell
local h,oList,var_Column,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.DrawGridLines = -1 // oList.Columns.Add("MultipleLine").Def(16) = false var_Column = oList.Columns.Add("MultipleLine") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.Def(16) = False] endwith oList.Columns.Add("VAlign") var_Items = oList.Items h = var_Items.Add("This is a bit of long text that should break the line") // var_Items.Caption(h,1) = "top" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "top"] endwith // var_Items.CellVAlignment(h,1) = 0 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellVAlignment(h,1) = 0] endwith h = var_Items.Add("This is a bit of long text that should break the line") // var_Items.Caption(h,1) = "middle" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "middle"] endwith // var_Items.CellVAlignment(h,1) = 1 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellVAlignment(h,1) = 1] endwith h = var_Items.Add("This is a bit of long text that should break the line") // var_Items.Caption(h,1) = "bottom" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "bottom"] endwith // var_Items.CellVAlignment(h,1) = 2 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellVAlignment(h,1) = 2] endwith |
286 |
How can I change the position of an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items var_Items.Add("Item 1") var_Items.Add("Item 2") // var_Items.ItemPosition(var_Items.Add("Item 3")) = 0 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemPosition(Add("Item 3")) = 0] endwith |
285 |
How do I find an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items var_Items.Add("Item 1") var_Items.Add("Item 2") var_Items.Add("Item 3") // var_Items.ItemBold(var_Items.FindItem("Item 2",0)) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemBold(FindItem("Item 2",0)) = True] endwith |
284 |
How can I insert a hyperlink or an anchor element
local oList,var_Items,var_Items1 oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Column") var_Items = oList.Items // var_Items.CaptionFormat(var_Items.Add("Just an <a1>anchor</a> element ..."),0) = 1 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CaptionFormat(Add("Just an <a1>anchor</a> element ..."),0) = 1] endwith var_Items1 = oList.Items // var_Items1.CaptionFormat(var_Items1.Add("Just another <a2>anchor</a> element ..."),0) = 1 with (oList) TemplateDef = [dim var_Items1] TemplateDef = var_Items1 Template = [var_Items1.CaptionFormat(Add("Just another <a2>anchor</a> element ..."),0) = 1] endwith |
283 |
How do I find the handle of the item based on its index
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items h = var_Items.Add("Item 1") var_Items.Add("Item 2") var_Items.Add("Item 3") // var_Items.ItemBold(1) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemBold(1) = True] endwith |
282 |
How can I find the cell being clicked in a radio group
|
281 |
Can I let the user to resize at runtime the specified item
|
280 |
How can I change the size ( width, height ) of the picture
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items h = var_Items.Add("Item 1") // var_Items.CellPicture(h,0) = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellPicture(h,0) = Me.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")] endwith // var_Items.CellPictureWidth(h,0) = 24 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellPictureWidth(h,0) = 24] endwith // var_Items.CellPictureHeight(h,0) = 24 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellPictureHeight(h,0) = 24] endwith // var_Items.ItemHeight(h) = 32 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.ItemHeight(h) = 32] endwith h = var_Items.Add("Item 2") // var_Items.CellPicture(h,0) = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellPicture(h,0) = Me.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")] endwith // var_Items.ItemHeight(h) = 48 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.ItemHeight(h) = 48] endwith |
279 |
How can I find the number or the count of selected items
|
278 |
How do I unselect an item
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items h = var_Items.Add("Item 1") var_Items.Add("Item 2") var_Items.Add("Item 3") // var_Items.SelectItem(h) = false with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.SelectItem(h) = False] endwith |
277 |
How do I find the selected item
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items h = var_Items.Add("Item 1") var_Items.Add("Item 2") var_Items.Add("Item 3") // var_Items.SelectItem(h) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.SelectItem(h) = True] endwith // var_Items.ItemBold(var_Items.SelectedItem(0)) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemBold(SelectedItem(0)) = True] endwith |
276 |
How do I un select all items
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.SingleSel = false oList.Columns.Add("Default") var_Items = oList.Items var_Items.Add("Item 1") var_Items.Add("Item 2") var_Items.Add("Item 3") var_Items.UnselectAll() |
275 |
How do I select multiple items
|
274 |
How do I select all items
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.SingleSel = false oList.Columns.Add("Default") var_Items = oList.Items var_Items.Add("Item 1") var_Items.Add("Item 2") var_Items.Add("Item 3") var_Items.SelectAll() |
273 |
How do I select an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items var_Items.Add("Item 1") var_Items.Add("Item 2") var_Items.Add("Item 3") // var_Items.SelectItem(var_Items.NextVisibleItem(var_Items.FocusItem)) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.SelectItem(NextVisibleItem(FocusItem)) = True] endwith |
272 |
Can I display a button with some picture or icon inside
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Template = [HTMLPicture("p1") = "c:\exontrol\images\zipdisk.gif"] // oList.HTMLPicture("p1") = "c:\exontrol\images\zipdisk.gif" oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = " Button <img>p1</img> " with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = " Button <img>p1</img> "] endwith // var_Items.CaptionFormat(h,1) = 1 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CaptionFormat(h,1) = 1] endwith // var_Items.CellHAlignment(h,1) = 2 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHAlignment(h,1) = 2] endwith // var_Items.CellHasButton(h,1) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHasButton(h,1) = True] endwith // var_Items.ItemHeight(h) = 48 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.ItemHeight(h) = 48] endwith |
271 |
Can I display a button with some picture or icon inside
|
270 |
Can I display a button with some icon inside
|
269 |
How can I assign multiple icon/picture to a cell
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Template = [HTMLPicture("p1") = "c:\exontrol\images\zipdisk.gif"] // oList.HTMLPicture("p1") = "c:\exontrol\images\zipdisk.gif" oList.Template = [HTMLPicture("p2") = "c:\exontrol\images\auction.gif"] // oList.HTMLPicture("p2") = "c:\exontrol\images\auction.gif" oList.Columns.Add("Default") var_Items = oList.Items h = var_Items.Add("text <img>p1</img> another picture <img>p2</img> and so on") // var_Items.CaptionFormat(h,0) = 1 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CaptionFormat(h,0) = 1] endwith // var_Items.CellPicture(h,0) = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)") with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellPicture(h,0) = Me.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")] endwith // var_Items.ItemHeight(h) = 48 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.ItemHeight(h) = 48] endwith var_Items.Add("Item 2") |
268 |
How can I assign an icon/picture to a cell
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items h = var_Items.Add("Item 1") // var_Items.CellPicture(h,0) = oList.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellPicture(h,0) = Me.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")] endwith // var_Items.ItemHeight(h) = 48 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.ItemHeight(h) = 48] endwith var_Items.Add("Item 2") |
267 |
How can I assign multiple icons/pictures to a cell
|
266 |
How can I assign multiple icons/pictures to a cell
|
265 |
How can I assign an icon/picture to a cell
|
264 |
How can I display a button inside the item or cell
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = " Button 1 " with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = " Button 1 "] endwith // var_Items.CellHAlignment(h,1) = 2 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHAlignment(h,1) = 2] endwith // var_Items.CellHasButton(h,1) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHasButton(h,1) = True] endwith h = var_Items.Add("Cell 2") // var_Items.Caption(h,1) = " Button 2 " with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = " Button 2 "] endwith // var_Items.CellHAlignment(h,1) = 1 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHAlignment(h,1) = 1] endwith // var_Items.CellHasButton(h,1) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHasButton(h,1) = True] endwith |
263 |
How can I change the state of a radio button
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.MarkSearchColumn = false oList.SelBackColor = 0x80ffff oList.SelForeColor = 0x0 oList.Columns.Add("C1") oList.Columns.Add("C2") oList.Columns.Add("C3") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "Radio 1" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Radio 1"] endwith // var_Items.CellHasRadioButton(h,1) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHasRadioButton(h,1) = True] endwith // var_Items.CellRadioGroup(h,1) = 1234 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellRadioGroup(h,1) = 1234] endwith // var_Items.Caption(h,2) = "Radio 2" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,2) = "Radio 2"] endwith // var_Items.CellHasRadioButton(h,2) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHasRadioButton(h,2) = True] endwith // var_Items.CellRadioGroup(h,2) = 1234 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellRadioGroup(h,2) = 1234] endwith // var_Items.CellState(h,1) = 1 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellState(h,1) = 1] endwith |
262 |
How can I assign a radio button to a cell
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.MarkSearchColumn = false oList.SelBackColor = 0x80ffff oList.SelForeColor = 0x0 oList.Columns.Add("C1") oList.Columns.Add("C2") oList.Columns.Add("C3") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "Radio 1" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Radio 1"] endwith // var_Items.CellHasRadioButton(h,1) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHasRadioButton(h,1) = True] endwith // var_Items.CellRadioGroup(h,1) = 1234 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellRadioGroup(h,1) = 1234] endwith // var_Items.Caption(h,2) = "Radio 2" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,2) = "Radio 2"] endwith // var_Items.CellHasRadioButton(h,2) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHasRadioButton(h,2) = True] endwith // var_Items.CellRadioGroup(h,2) = 1234 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellRadioGroup(h,2) = 1234] endwith // var_Items.CellState(h,1) = 1 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellState(h,1) = 1] endwith |
261 |
How can I change the state of a checkbox
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "Check Box" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Check Box"] endwith // var_Items.CellHasCheckBox(h,1) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHasCheckBox(h,1) = True] endwith // var_Items.CellState(h,1) = 1 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellState(h,1) = 1] endwith |
260 |
How can I assign a checkbox to a cell
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "Check Box" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Check Box"] endwith // var_Items.CellHasCheckBox(h,1) = true with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellHasCheckBox(h,1) = True] endwith |
259 |
How can I display an item or a cell on multiple lines
|
258 |
How can I assign a tooltip to a cell
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "tooltip" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "tooltip"] endwith // var_Items.CellToolTip(h,1) = "This is bit of text that's shown when the user hovers the cell" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellToolTip(h,1) = "This is bit of text that's shown when the user hovers the cell"] endwith |
257 |
How can I associate an extra data to a cell
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "Cell 2" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Cell 2"] endwith // var_Items.CellData(h,1) = "your extra data" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellData(h,1) = "your extra data"] endwith |
256 |
How do I enable or disable a cell
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "Cell 2" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Cell 2"] endwith // var_Items.CellEnabled(h,1) = false with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellEnabled(h,1) = False] endwith |
255 |
How do I change the cell's foreground color
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "Cell 2" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Cell 2"] endwith // var_Items.CellForeColor(h,1) = 0xff with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellForeColor(h,1) = 255] endwith |
254 |
How do I change the visual effect for the cell, using your EBN files
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn") oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "Cell 2" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Cell 2"] endwith // var_Items.CellBackColor(h,1) = 0x1000000 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellBackColor(h,1) = 16777216] endwith |
253 |
How do I change the cell's background color
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items h = var_Items.Add("Cell 1") // var_Items.Caption(h,1) = "Cell 2" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Cell 2"] endwith // var_Items.CellBackColor(h,1) = 0xff with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.CellBackColor(h,1) = 255] endwith |
252 |
How do I change the caption or value for a particular cell
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items // var_Items.Caption(var_Items.Add("Cell 1"),1) = "Cell 2" with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.Caption(Add("Cell 1"),1) = "Cell 2"] endwith |
251 |
How do I retrieve the focused item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items var_Items.Add("Item 1") var_Items.Add("Item 2") var_Items.Add("Item 3") // var_Items.ItemBold(var_Items.FocusItem) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemBold(FocusItem) = True] endwith |
250 |
How do I enumerate the visible items
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items h = var_Items.Add("Item 1") h = var_Items.Add("Item 2") // var_Items.ItemBold(var_Items.FirstVisibleItem) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemBold(FirstVisibleItem) = True] endwith // var_Items.ItemBold(var_Items.NextVisibleItem(var_Items.FirstVisibleItem)) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemBold(NextVisibleItem(FirstVisibleItem)) = True] endwith |
249 |
How can I make an item unselectable, or not selectable
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Column") var_Items = oList.Items h = var_Items.Add("unselectable - you can't get selected") // var_Items.SelectableItem(h) = false with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.SelectableItem(h) = False] endwith var_Items.Add("selectable") |
248 |
How can I hide or show an item
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Column") var_Items = oList.Items h = var_Items.Add("hidden") // var_Items.ItemHeight(h) = 0 with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.ItemHeight(h) = 0] endwith // var_Items.SelectableItem(h) = false with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.SelectableItem(h) = False] endwith var_Items.Add("visible") |
247 |
How can I change the height for all items
|
246 |
How do I change the height of an item
|
245 |
How do I disable or enable an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.EnableItem(var_Items.Add("disabled")) = false with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.EnableItem(Add("disabled")) = False] endwith oList.Items.Add("enabled") |
244 |
How do I display as strikeout a cell
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.CellStrikeOut(var_Items.Add("strikeout"),0) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellStrikeOut(Add("strikeout"),0) = True] endwith |
243 |
How do I display as strikeout a cell or an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.CaptionFormat(var_Items.Add("gets <s>strikeout</s> only a portion of text"),0) = 1 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CaptionFormat(Add("gets <s>strikeout</s> only a portion of text"),0) = 1] endwith |
242 |
How do I display as strikeout an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.ItemStrikeOut(var_Items.Add("strikeout")) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemStrikeOut(Add("strikeout")) = True] endwith |
241 |
How do I underline a cell
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.CellUnderline(var_Items.Add("underline"),0) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellUnderline(Add("underline"),0) = True] endwith |
240 |
How do I underline a cell or an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.CaptionFormat(var_Items.Add("gets <u>underline</u> only a portion of text"),0) = 1 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CaptionFormat(Add("gets <u>underline</u> only a portion of text"),0) = 1] endwith |
239 |
How do I underline an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.ItemUnderline(var_Items.Add("underline")) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemUnderline(Add("underline")) = True] endwith |
238 |
How do I display as italic a cell
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.CellItalic(var_Items.Add("italic"),0) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellItalic(Add("italic"),0) = True] endwith |
237 |
How do I display as italic a cell or an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.CaptionFormat(var_Items.Add("gets <i>italic</i> only a portion of text"),0) = 1 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CaptionFormat(Add("gets <i>italic</i> only a portion of text"),0) = 1] endwith |
236 |
How do I display as italic an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.ItemItalic(var_Items.Add("italic")) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemItalic(Add("italic")) = True] endwith |
235 |
How do I bold a cell
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.CellBold(var_Items.Add("bold"),0) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellBold(Add("bold"),0) = True] endwith |
234 |
How do I bold a cell or an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.CaptionFormat(var_Items.Add("gets <b>bold</b> only a portion of text"),0) = 1 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CaptionFormat(Add("gets <b>bold</b> only a portion of text"),0) = 1] endwith |
233 |
How do I bold an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.ItemBold(var_Items.Add("bold")) = true with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemBold(Add("bold")) = True] endwith |
232 |
How do I change the foreground color for the item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.ItemForeColor(var_Items.Add("Item")) = 0xff with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemForeColor(Add("Item")) = 255] endwith |
231 |
How do I change the visual appearance for the item, using your EBN technology
|
230 |
How do I change the background color for the item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.ItemBackColor(var_Items.Add("Item")) = 0xff with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemBackColor(Add("Item")) = 255] endwith |
229 |
How do I associate an extra data to an item
local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") var_Items = oList.Items // var_Items.ItemData(var_Items.Add("item")) = "your extra data" with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.ItemData(Add("item")) = "your extra data"] endwith |
228 |
How do I programmatically edit a cell
/* with (this.EXLISTACTIVEXCONTROL1.nativeObject) AfterCellEdit = class::nativeObject_AfterCellEdit endwith */ // Occurs after data in the current cell is edited. function nativeObject_AfterCellEdit(ItemIndex,ColIndex,NewCaption) local var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_Items = oList.Items // var_Items.Caption(ItemIndex,ColIndex) = NewCaption with (oList) TemplateDef = [dim var_Items,ItemIndex,ColIndex] TemplateDef = var_Items TemplateDef = ItemIndex TemplateDef = ColIndex Template = [var_Items.Caption(ItemIndex,ColIndex) = NewCaption] endwith return /* with (this.EXLISTACTIVEXCONTROL1.nativeObject) CancelCellEdit = class::nativeObject_CancelCellEdit endwith */ // Occurs if the edit operation is canceled. function nativeObject_CancelCellEdit(ItemIndex,ColIndex,Reserved) local var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_Items = oList.Items // var_Items.Caption(ItemIndex,ColIndex) = Reserved with (oList) TemplateDef = [dim var_Items,ItemIndex,ColIndex] TemplateDef = var_Items TemplateDef = ItemIndex TemplateDef = ColIndex Template = [var_Items.Caption(ItemIndex,ColIndex) = Reserved] endwith return /* with (this.EXLISTACTIVEXCONTROL1.nativeObject) Click = class::nativeObject_Click endwith */ // Occurs when the user presses and then releases the left mouse button over the list control. function nativeObject_Click() local var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_Items = oList.Items var_Items.Edit(var_Items.FocusItem,0) return local oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.AllowEdit = true oList.Columns.Add("Default") var_Items = oList.Items var_Items.Add("") |
227 |
How can I ensure or scroll the control so the item fits the control's client area
|
226 |
How can I remove or delete all items
|
225 |
How can I remove or delete an item
|
224 |
How can I add or insert an item
local h,oList,var_Items oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("C1") oList.Columns.Add("C2") var_Items = oList.Items // var_Items.Caption(var_Items.Add("Cell 1"),1) = "Cell 2" with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.Caption(Add("Cell 1"),1) = "Cell 2"] endwith h = var_Items.Add("Cell 3") // var_Items.Caption(h,1) = "Cell 4" with (oList) TemplateDef = [dim var_Items,h] TemplateDef = var_Items TemplateDef = h Template = [var_Items.Caption(h,1) = "Cell 4"] endwith |
223 |
How can I add or insert an item
local oList oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("Default") oList.Items.Add("new item") |
222 |
How can I get the columns as they are shown in the control's sortbar
|
221 |
How can I access the properties of a column
|
220 |
How can I remove all the columns
|
219 |
How can I remove a column
|
218 |
How can I get the number or the count of columns
|
217 |
How can I change the font for all cells in the entire column
local f,oList,var_ConditionalFormat oList = form.EXLISTACTIVEXCONTROL1.nativeObject f = new OleAutoClient("StdFont") f.Name = "Tahoma" f.Size = 12 var_ConditionalFormat = oList.ConditionalFormats.Add("1") var_ConditionalFormat.Font = f var_ConditionalFormat.ApplyTo = 0 oList.Columns.Add("Column") oList.Items.Add(0) oList.Items.Add(1) |
216 |
How can I change the background color for all cells in the column
local oList,var_ConditionalFormat oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_ConditionalFormat = oList.ConditionalFormats.Add("1") var_ConditionalFormat.BackColor = 0xff var_ConditionalFormat.ApplyTo = 0 oList.Columns.Add("Column") oList.Items.Add(0) oList.Items.Add(1) |
215 |
How can I change the foreground color for all cells in the column
local oList,var_ConditionalFormat oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_ConditionalFormat = oList.ConditionalFormats.Add("1") var_ConditionalFormat.ForeColor = 0xff var_ConditionalFormat.ApplyTo = 0 oList.Columns.Add("Column") oList.Items.Add(0) oList.Items.Add(1) |
214 |
How can I show as strikeout all cells in the column
|
213 |
How can I underline all cells in the column
local oList,var_ConditionalFormat oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_ConditionalFormat = oList.ConditionalFormats.Add("1") var_ConditionalFormat.Underline = true var_ConditionalFormat.ApplyTo = 0 oList.Columns.Add("Column") oList.Items.Add(0) oList.Items.Add(1) |
212 |
How can I show in italic all data in the column
local oList,var_ConditionalFormat oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_ConditionalFormat = oList.ConditionalFormats.Add("1") var_ConditionalFormat.Italic = true var_ConditionalFormat.ApplyTo = 0 oList.Columns.Add("Column") oList.Items.Add(0) oList.Items.Add(1) |
211 |
How can I bold the entire column
local oList,var_ConditionalFormat oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_ConditionalFormat = oList.ConditionalFormats.Add("1") var_ConditionalFormat.Bold = true var_ConditionalFormat.ApplyTo = 0 oList.Columns.Add("Column") oList.Items.Add(0) oList.Items.Add(1) |
210 |
How can I display a computed column and highlight some values that are negative or less than a value
|
209 |
Can I display a computed column so it displays the VAT, or SUM
local oList,var_Column,var_Items,var_Items1 oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("A") oList.Columns.Add("B") // oList.Columns.Add("(A+B)*1.19").ComputedField = "(%0 + %1) * 1.19" var_Column = oList.Columns.Add("(A+B)*1.19") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.ComputedField = "(%0 + %1) * 1.19"] endwith var_Items = oList.Items // var_Items.Caption(var_Items.Add(1),1) = 2 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.Caption(Add(1),1) = 2] endwith var_Items1 = oList.Items // var_Items1.Caption(var_Items1.Add(10),1) = 20 with (oList) TemplateDef = [dim var_Items1] TemplateDef = var_Items1 Template = [var_Items1.Caption(Add(10),1) = 20] endwith |
208 |
How can I show a column that adds values in the cells
local oList,var_Column,var_Items,var_Items1 oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.Columns.Add("A") oList.Columns.Add("B") // oList.Columns.Add("A+B").ComputedField = "%0 + %1" var_Column = oList.Columns.Add("A+B") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.ComputedField = "%0 + %1"] endwith var_Items = oList.Items // var_Items.Caption(var_Items.Add(1),1) = 2 with (oList) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.Caption(Add(1),1) = 2] endwith var_Items1 = oList.Items // var_Items1.Caption(var_Items1.Add(10),1) = 20 with (oList) TemplateDef = [dim var_Items1] TemplateDef = var_Items1 Template = [var_Items1.Caption(Add(10),1) = 20] endwith |
207 |
Is there any function to filter the control's data as I type, so the items being displayed include the typed characters
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_Column = oList.Columns.Add("Filter") var_Column.FilterOnType = true var_Column.DisplayFilterButton = true var_Column.AutoSearch = 1 oList.Items.Add("Canada") oList.Items.Add("USA") |
206 |
Is there any function to filter the control's data as I type, something like filter on type
|
205 |
How can I programmatically filter a column
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_Column = oList.Columns.Add("Filter") var_Column.DisplayFilterButton = true var_Column.FilterType = 2 oList.Items.Add() oList.Items.Add("not empty") oList.ApplyFilter() |
204 |
How can I show or display the control's filter
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject // oList.Columns.Add("Filter").DisplayFilterButton = true var_Column = oList.Columns.Add("Filter") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.DisplayFilterButton = True] endwith |
203 |
How can I customize the items being displayed in the drop down filter window
local oList,var_Column oList = form.EXLISTACTIVEXCONTROL1.nativeObject var_Column = oList.Columns.Add("Custom Filter") var_Column.DisplayFilterButton = true var_Column.DisplayFilterPattern = false var_Column.CustomFilter = "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||Text Documents (*.log,*.txt)||*.txt|*.log" var_Column.FilterType = 3 var_Column.Filter = "*.xls" oList.Items.Add("excel.xls") oList.Items.Add("word.doc") oList.Items.Add("pp.pps") oList.Items.Add("text.txt") oList.ApplyFilter() |
202 |
How can I change the order or the position of the columns in the sort bar
local oList,var_Column,var_Column1 oList = form.EXLISTACTIVEXCONTROL1.nativeObject oList.SortBarVisible = true oList.SortBarColumnWidth = 48 // oList.Columns.Add("C1").SortOrder = 1 var_Column = oList.Columns.Add("C1") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.SortOrder = 1] endwith // oList.Columns.Add("C2").SortOrder = 2 var_Column1 = oList.Columns.Add("C2") with (oList) TemplateDef = [dim var_Column1] TemplateDef = var_Column1 Template = [var_Column1.SortOrder = 2] endwith oList.Columns.Item("C2").SortPosition = 0 |
201 |
How do I arrange my columns on multiple levels
local oList,var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Column5,var_Column6,var_Column7,var_Column8 oList = form.EXLISTACTIVEXCONTROL1.nativeObject // oList.Columns.Add("S").Width = 32 var_Column = oList.Columns.Add("S") with (oList) TemplateDef = [dim var_Column] TemplateDef = var_Column Template = [var_Column.Width = 32] endwith // oList.Columns.Add("Level 2").LevelKey = 1 var_Column1 = oList.Columns.Add("Level 2") with (oList) TemplateDef = [dim var_Column1] TemplateDef = var_Column1 Template = [var_Column1.LevelKey = 1] endwith // oList.Columns.Add("Level 3").LevelKey = 1 var_Column2 = oList.Columns.Add("Level 3") with (oList) TemplateDef = [dim var_Column2] TemplateDef = var_Column2 Template = [var_Column2.LevelKey = 1] endwith // oList.Columns.Add("Level 4").LevelKey = 1 var_Column3 = oList.Columns.Add("Level 4") with (oList) TemplateDef = [dim var_Column3] TemplateDef = var_Column3 Template = [var_Column3.LevelKey = 1] endwith // oList.Columns.Add("Level 1").LevelKey = "2" var_Column4 = oList.Columns.Add("Level 1") with (oList) TemplateDef = [dim var_Column4] TemplateDef = var_Column4 Template = [var_Column4.LevelKey = "2"] endwith // oList.Columns.Add("Level 2").LevelKey = "2" var_Column5 = oList.Columns.Add("Level 2") with (oList) TemplateDef = [dim var_Column5] TemplateDef = var_Column5 Template = [var_Column5.LevelKey = "2"] endwith // oList.Columns.Add("Level 3").LevelKey = "2" var_Column6 = oList.Columns.Add("Level 3") with (oList) TemplateDef = [dim var_Column6] TemplateDef = var_Column6 Template = [var_Column6.LevelKey = "2"] endwith // oList.Columns.Add("Level 4").LevelKey = "2" var_Column7 = oList.Columns.Add("Level 4") with (oList) TemplateDef = [dim var_Column7] TemplateDef = var_Column7 Template = [var_Column7.LevelKey = "2"] endwith // oList.Columns.Add("E").Width = 32 var_Column8 = oList.Columns.Add("E") with (oList) TemplateDef = [dim var_Column8] TemplateDef = var_Column8 Template = [var_Column8.Width = 32] endwith |